﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GDI_应用案例.Pages
{
    [AttributeUsage(AttributeTargets.Class)]
    public class FormPageAttribute : Attribute
    {
        public FormPageAttribute(int key)
            : this(key, string.Empty)
        {
        }

        public FormPageAttribute(int key, string text)
        {
            this.Key = key;
            this.Text = text;
        }
        public int Key { get; set; }
        public string Text { get; set; }
        public Type Type { get; set; }
        public Form Page { get; set; }
    }
}
